export const searchFieldConfig: FieldInter[] = [
  {
    type: 'input',
    rule: [{ message: '' }],
    label: '学生ID',
    field: 'id',
    placeholder: '请输入学生ID'
  },
  {
    type: 'input',
    rule: [{ message: '' }],
    label: '学生学号',
    field: 'number',
    placeholder: '请输入学生学号'
  },
  { type: 'input', label: '名字', field: 'name', placeholder: '请输入学生名字' },
  {
    type: 'select',
    label: '性别',
    value: [
      { key: 2, val: '全部' },
      { key: 0, val: '男' },
      { key: 1, val: '女' }
    ],
    rule: [],
    field: 'sex',
    placeholder: '请选择学生性别'
  },
  { type: 'input', label: '手机号', field: 'phone', placeholder: '请输入手机号' },
  { type: 'input', label: '年龄', field: 'age', placeholder: '请输入学生年龄' },
  { type: 'date', label: '入学时间', field: 'joinSchoolTime', placeholder: '请输入学生入学时间' }
]

export const tableColumns: TableColumnsInter[] = [
  {
    key: 'name',
    dataIndex: 'name',
    title: '姓名'
  },
  {
    key: 'age',
    dataIndex: 'age',
    title: '年龄'
  },
  {
    key: 'height',
    dataIndex: 'height',
    title: '身高'
  },
  {
    key: 'sexText',
    dataIndex: 'sexText',
    title: '性别'
  },
  {
    key: 'joinSchoolTime',
    dataIndex: 'joinSchoolTime',
    title: '入学时间'
  },
  {
    key: 'schoolTypeText',
    dataIndex: 'schoolTypeText',
    title: '学期类型'
  },
  {
    key: 'guardian',
    dataIndex: 'guardian',
    title: '监护人姓名'
  },
  {
    key: 'guardianPhone',
    dataIndex: 'guardianPhone',
    title: '家长联系方式'
  },

  {
    key: 'guardianWechat',
    dataIndex: 'guardianWechat',
    title: '家长微信'
  }
]
